#ifndef DBUSTYPEDLG_HPP
#define DBUSTYPEDLG_HPP
#include <QDialog>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>

class DbusTypeDlg : public QDialog
{
public:
    QGridLayout *gridLayout;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer_2;
    QPushButton *btOK;
    QLabel *lbType;
    QLabel *lbIP;
    QLabel *lbPort;
    QSpacerItem *horizontalSpacer;
    QLineEdit *lePort;
    QLineEdit *leIP;
    QComboBox *cbType;
public:
    int m_type;
    QString m_IP;
    QString m_port;
public:
    DbusTypeDlg(QWidget *parent = 0);
    ~DbusTypeDlg();
private slots:
    void on_cbType_currentIndexChanged(int index);
    void on_cbType_currentTextChanged(const QString & text);
    void on_btOK_clicked();
};

#endif // DBUSTYPEDLG_HPP


